package org.jeecg.modules.wlhy.hyplatform.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: hy_platform_bill
 * @Author: jeecg-boot
 * @Date:   2022-12-21
 * @Version: V1.0
 */
@Data
@TableName("hy_platform_bill")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_platform_bill对象", description="hy_platform_bill")
public class HyPlatformBill implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**流水号*/
	@Excel(name = "流水号", width = 15)
    @ApiModelProperty(value = "流水号")
    private String billNum;
	/**单据类型(2提现)*/
//	@Excel(name = "单据类型", width = 15)
    @ApiModelProperty(value = "单据类型(2提现)")
    private String billType;
	/**订单id*/
	@Excel(name = "订单id", width = 15)
    @ApiModelProperty(value = "订单id")
    private String orderId;
	/**运单id*/
	@Excel(name = "运单id", width = 15)
    @ApiModelProperty(value = "运单id")
    private String shippingId;
	/**公司id*/
	@Excel(name = "公司id", width = 15)
    @ApiModelProperty(value = "公司id")
    private String companyId;
	/**司机id*/
	@Excel(name = "司机id", width = 15)
    @ApiModelProperty(value = "司机id")
    private String driverId;
	/**借方账号*/
	@Excel(name = "借方账号", width = 15)
    @ApiModelProperty(value = "借方账号")
    private String dbaccno;
	/**借方多级账簿号*/
	@Excel(name = "借方多级账簿号", width = 15)
    @ApiModelProperty(value = "借方多级账簿号")
    private String dblogaccno;
	/**借方名称*/
	@Excel(name = "借方名称", width = 15)
    @ApiModelProperty(value = "借方名称")
    private String dbaccname;
	/**dbProv*/
	@Excel(name = "dbProv", width = 15)
    @ApiModelProperty(value = "dbProv")
    private String dbProv;
	/**贷方账号*/
	@Excel(name = "贷方账号", width = 15)
    @ApiModelProperty(value = "贷方账号")
    private String craccno;
	/**贷方多级账簿号*/
	@Excel(name = "贷方多级账簿号", width = 15)
    @ApiModelProperty(value = "贷方多级账簿号")
    private String crlogaccno;
	/**贷方名称*/
	@Excel(name = "贷方名称", width = 15)
    @ApiModelProperty(value = "贷方名称")
    private String craccname;
	/**贷方收款方银行代码*/
	@Excel(name = "贷方收款方银行代码", width = 15)
    @ApiModelProperty(value = "贷方收款方银行代码")
    private String crBankCode;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private BigDecimal amt;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private String delFlag;
	/**支付状态:返回来源*/
	@Excel(name = "支付状态:返回来源", width = 15)
    @ApiModelProperty(value = "支付状态:返回来源")
    private String respSource;
	/**支付状态:返回码*/
	@Excel(name = "支付状态:返回码", width = 15)
    @ApiModelProperty(value = "支付状态:返回码")
    private String respCode;
	/**支付状态:返回信息*/
	@Excel(name = "支付状态:返回信息", width = 15)
    @ApiModelProperty(value = "支付状态:返回信息")
    private String respInfo;
	/**支付状态:返回扩展信息*/
	@Excel(name = "支付状态:返回扩展信息", width = 15)
    @ApiModelProperty(value = "支付状态:返回扩展信息")
    private String rxtInfo;
	/**支付渠道 1农行支付 5线下支付*/
    @Dict(dicCode = "pay_channel")
	@Excel(name = "支付渠道 1农行支付 5线下支付", width = 15)
    @ApiModelProperty(value = "支付渠道 1农行支付 5线下支付")
    private String payChannel;
	/**crProv*/
	@Excel(name = "crProv", width = 15)
    @ApiModelProperty(value = "crProv")
    private String crProv;
}
